Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

feat(issue-155): Allow multiple file upload#218

Closed
tallulahh wants to merge 1 commit intoaws-solutions:mainfrom
tallulahh:issue-155-allow-multiple-file-upload
Closed

feat(issue-155): Allow multiple file upload#218
tallulahh wants to merge 1 commit intoaws-solutions:mainfrom
tallulahh:issue-155-allow-multiple-file-upload

Conversation

@tallulahh
Copy link

@tallulahh tallulahh commented Apr 19, 2024

Issue #, if available: 155 - #155

Description of changes: Allow multiple file selection and upload.
While working on a project we required this feature, this code enabled us to select multiple files and upload them.

What was done:

  • updated b-form-file element to use multiple
  • updated data to return an array for fileToUpload
  • updated the uploadChunk method to accept the file as a parameter and pass parameter into function. Updated all instances of this method being called.
  • updated the checkIfFileExists method to loop through the fileToUpload array. If no files already exist, it will loop through the files, calling the upload method on each file. When the for loop finished it will call the afterComplete method to output a successful message.
  • updated the upload method to accept the file parameter and pass parameter into function. Updated all instances of this method being called. Commented all calls of afterComplete from within this function, as it is being called after the loop of uploading files is complete.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@josh383451
Copy link

When can this be merged?

@bios6
Copy link
Member

bios6 commented Oct 30, 2025

Hi @josh383451 and @tallulahh ,

Since we are deprecating this solution in November 2025, we are no longer adding any new features to this solution. You can however clone this repository and make whatever changes you think are suitable for you and your environment.

Thanks!

@bios6 bios6 closed this Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants